export default class BusinessFlow {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessFlow/page', 'get', params, axiosOption, httpOption);
  }
  static lists (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessFlow/list', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessFlow/add', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/businessFlow/update', 'put', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/businessFlow/view/${params}`, 'get', axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/businessFlow/delete/${params}`, 'get', axiosOption, httpOption);
  }
}
